body {
  margin: 0;
  padding: 0;
  position: relative;
}

.animated-banner {
  position: absolute;
  top: -2px;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  min-width: 1000px;
  min-height: 192px;
  height: 9.375vw;
}

.animated-banner > .layer {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.animated-banner2 {
  position: absolute;
  top: calc(100vh - 192px);
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  min-width: 1000px;
  min-height: 192px;
  height: 9.375vw;
}

.animated-banner2 > .layer {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

html,
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft Yahei", sans-serif;
}

.login-box {
  width: 100%;
  height: calc(100vh);
  display: flex;
  align-items: center;
  justify-content: center;
  //线性渐变
  background: url("http://badmin.buding.asia/static/svg/login-bg-2b04b21b.svg");
  //   no-repeat;
  // background: linear-gradient(90deg, #dee4f0 0%, #a0bcf0 50%, #627ed0 100%);
  background-size: cover;
  background-attachment: fixed;
  &::before {
    content: "Hello, Angular!";
    position: absolute;
    font-family: Tahoma, Geneva, Verdana, sans-serif;
    font-size: 50px;
    font-weight: 700;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(4px);
    z-index: 99;
  }
}
.register {
  &-box {
    display: flex;
    justify-content: flex-end;
  }
  &-btn {
    color: #2559f7;
    font-size: 14px;
    cursor: pointer;
  }
}

.login-form {
  width: 440px;
  height: 450px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 40px;
  text-align: center;
  position: relative;
  z-index: 100;
  background: inherit;
  border-radius: 18px;
  overflow: hidden; /* 隐藏多余的模糊效果*/
}

.login-form::before {
  content: "";
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  position: absolute;
  top: -10px;
  left: -10px;
  overflow: hidden;
  background: inherit;
  box-shadow: inset 0 0 0 200px rgba(255, 255, 255, 0.25);
  filter: blur(6px);
  z-index: -1;
}

.login-form h1 {
  font-size: 18px;
  font-weight: 400;
  color: #3d5245;
}

.login-form input::placeholder {
  color: #92a7e0;
}

.login-form button:focus,
.login-form input:focus {
  outline: 0;
}

.login-form button {
  margin-top: 24px;
  background-color: linear-gradient(
    90deg,
    #dee4f0 0%,
    #a0bcf0 50%,
    #627ed0 100%
  );
  color: white;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: 0.4s;
}

.login-form button:hover {
  background-color: #2559f7;
}
